let reg = '面包|面版|面饼|🍞'

export class input_replace extends plugin {
  constructor() {
    super({
      name: "输入替换",
      event: "message",
      priority: -Infinity
    })
  }
  
  accept(e) {
    try {
      e.msg = e.msg.replace(new RegExp(reg, 'g'), '面板')
	  e.msg = e.msg.replace('#武器图鉴', '#武器索引')
    } catch (err) {}
   
  }
}